html,
body {
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.wrap-box {
    position: relative;
    width: 100%;

    .banner-box {
        height: 6.53rem;
        position: relative;
        z-index: 2;
        background-image: url('../images/top-banner.png');
        background-size: cover;

        .nav-box {
            position: absolute;
            top: 0.48rem;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 0.35rem;
            box-sizing: border-box;

            .logo {
                width: 1.54rem;
                height: 0.41rem;
                display: block;
                background-image: url('../images/logo.png');
                background-size: cover;
            }

            .rule {
                display: flex;
                justify-content: center;
                align-items: center;
                font-size: 0.32rem;
                font-weight: 400;
                color: #fff;

                .icon {
                    width: 0.26rem;
                    height: 0.26rem;
                    display: block;
                    color: #fff;
                    background-image: url('../images/icon-right.png');
                    background-size: cover;
                }
            }
        }
    }


    .centent-box {
        background-image: url('../images/content-bg.png');
        background-size: cover;
        min-height: 5rem;
        padding: 0.2rem 0;

        .bargain-box {
            width: 7.11rem;
            height: 4.73rem;
            margin: 0 auto;
            background-image: url('../images/bargain-box.png');
            background-size: cover;

            .user-box {

                position: relative;
                top: -0.6rem;
                z-index: 2;

                .user-info {
                    text-align: center;

                    .avatar {
                        width: 1.35rem;
                        height: 1.35rem;
                        display: block;
                        margin: 0 auto;
                        border-radius: 50%;
                        overflow: hidden;
                        border: 0.05rem solid #fff;
                        background: #eee;
                        box-shadow: 0rem 0.15rem 0.2rem #ee1e3e1f;

                        img {
                            width: 100%;
                            height: 100%;
                        }
                    }

                    .user-name {
                        font-size: 0.3rem;
                        font-weight: 400;
                        margin-top: 0.3rem;
                    }
                }

                .progress-box {
                    width: 5.5rem;
                    margin: 0.4rem auto 0.48rem;

                    .text-box {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        padding: 0 0.1rem;
                        box-sizing: border-box;
                        margin-bottom: 0.1rem;

                        .tuition {
                            color: #999;
                            font-size: 0.26rem;
                        }

                        .tuition-ed {
                            color: #999;
                            font-size: 0.26rem;

                            span {
                                color: #F62F45;
                                font-size: 0.26rem;
                                font-weight: bold;
                            }
                        }
                    }


                    .progress-bar {
                        width: 100%;
                        height: 0.24rem;
                        background: rgba(255, 214, 210, 1);
                        box-shadow: 0 0.05rem 0.07rem 0 rgba(198, 58, 47, 0.15);
                        border-radius: 0.12rem;

                        .bar {
                            height: 100%;
                            background: linear-gradient(269deg, rgba(253, 30, 64, 1), rgba(255, 73, 159, 1));
                            border-radius: 0.12rem;
                        }
                    }


                }

                .action-box {
                    width: 5.5rem;
                    margin: 0 auto;
                    display: flex;
                    justify-content: space-between;

                    .btn {
                        width: 2.4rem;
                        height: 0.7rem;
                        line-height: 0.7rem;
                        text-align: center;
                        font-size: 0.3rem;
                        font-weight: 400;
                        color: rgba(255, 255, 255, 1);
                    }

                    .left-btn {
                        background: linear-gradient(5deg, rgba(241, 14, 9, 1), rgba(255, 170, 36, 1));
                        box-shadow: 0rem 0.2rem 0.2rem #ff092f40;
                        border-radius: 0.35rem;
                    }

                    .right-btn {
                        background: linear-gradient(5deg, rgba(218, 2, 0, 1), rgba(255, 62, 92, 1));
                        box-shadow: 0rem 0.2rem 0.2rem #ff092f40;
                        border-radius: 0.35rem;
                    }
                }
            }
        }


        .success-box {
            width: 7rem;
            height: 3.81rem;
            margin: 0 auto;
            background-image: url('../images/success-box.png');
            background-size: cover;

            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;

            .list {
                width: 6rem;
                height: 1.4rem;
                overflow: hidden;
                margin-left: 0.3rem;
                

                .item {
                    font-size: 0.26rem;
                    margin: 0.2rem 0;
                    display: flex;
                    align-items: center;
                    

                    .name {
                        font-size: 0.26rem;
                        max-width: 1rem;
                        font-weight: bold;
                        color: #F62F45;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        margin-right: 0.08rem;
                    }
                }
            }
        }


        .love-box {
            width: 7.19rem;
            height: 3.81rem;
            margin-left: 0.05rem;
            background-image: url('../images/love-box.png');
            background-size: cover;

            display: flex;
            justify-content: center;
            align-items: center;

            .list {
                width: 5.6rem;
                height: 1.4rem;
                overflow: auto;
                margin-left: 0.2rem;

                .item {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    margin: 0.2rem 0;

                    .left {
                        font-size: 0.26rem;
                        display: flex;
                        align-items: center;

                        .name {
                            font-size: 0.26rem;
                            max-width: 1rem;
                            font-weight: bold;
                            color: #F62F45;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            margin-right: 0.08rem;
                        }

                        .num {
                            font-size: 0.26rem;
                            font-weight: bold;
                        }
                    }

                    .time {
                        font-size: 0.26rem;
                        float: right;
                    }

                }
            }
        }


        .contact-box {
            width: 7.05rem;
            height: 6.2rem;
            margin: 0 auto;
            background-image: url('../images/contact-box.png');
            background-size: cover;
            padding: 1.3rem 0.7rem 0;
            box-sizing: border-box;

            .item-box {
                display: flex;
                justify-content: space-between;
                align-items: center;
                font-size: 0.26rem;
                font-weight: 400;
                color: #999;
                margin-bottom: 0.3rem;

                .section-box {
                    font-size: 0.26rem;
                    font-weight: 400;
                    color: #999;
                    display: flex;
                    align-items: center;

                    select {
                        font-size: 0.26rem;
                        width: 2rem;
                        margin-left: 0.2rem;
                        height: 0.7rem;
                        padding: 0 0.4rem 0 0.2rem;
                        box-sizing: border-box;
                        border: 0.02rem solid #EA273B;
                        border-radius: 0.12rem;
                        text-align: center;
                        outline: none;
                        // color: #EC1F2C;
                        /*去掉默认的下拉三角*/
                        appearance: none;
                        -moz-appearance: none;
                        -webkit-appearance: none;
                        background: #FFF4F4 url('../images/select-icon.png') no-repeat scroll right center;
                        background-size: 12%;
                        background-position-x: 1.56rem;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }
                }

                input {
                    font-size: 0.26rem;
                    color: #EC1F2C;
                    width: 4.9rem;
                    height: 0.7rem;
                    background: rgba(255, 244, 244, 1);
                    border: 0.02rem solid #EA273B;
                    border-radius: 0.12rem;
                    padding: 0 0.4rem 0 0.2rem;
                    margin-left: 0.1rem;
                    box-sizing: border-box;
                }
            }

            .sub-btn {
                width: 3rem;
                height: 0.7rem;
                display: block;
                margin: 0 auto;
                line-height: 0.7rem;
                text-align: center;
                font-size: 0.3rem;
                font-weight: 400;
                color: rgba(255, 255, 255, 1);
                background: linear-gradient(5deg, rgba(218, 2, 0, 1), rgba(255, 62, 92, 1));
                box-shadow: 0rem 0.2rem 0.2rem #ff092f40;
                border-radius: 0.35rem;
            }
        }
    }

    .other-box {
        width: 7.15rem;
        margin-top: 0.4rem;

        img {
            width: 100%;
        }
    }
}


.modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .close-btn {
        width: 0.7rem;
        height: 0.7rem;
        margin-top: 0.3rem;
        background-image: url('../images/close.png');
        background-size: cover;
    }
}

.rule-modal {
    display: none;

    .content-box {
        width: 6.83rem;
        height: 9rem;
        background-image: url('../images/rule-modal-bg.png');
        background-size: cover;
        padding: 1.2rem 0.5rem;
        box-sizing: border-box;

        .item {
            font-size: 0.26rem;
            line-height: 0.55rem;

            i {
                width: 0.36rem;
                height: 0.36rem;
                line-height: 0.36rem;
                text-align: center;
                border-radius: 50%;
                background: #F76119;
                color: #fff;
                font-size: 0.26rem;
            }

            span {
                color: #F76119;
                font-size: 0.26rem;
            }
        }
    }


}

.success-modal {
    .content-box {
        width: 6.85rem;
        height: 8rem;
        background-image: url('../images/success-modal-bg.png');
        background-size: cover;
        padding-top: 3.75rem;
        box-sizing: border-box;
        text-align: center;

        .title {
            font-size: 0.32rem;
            margin-bottom: 1.1rem;

            span {
                font-size: 0.32rem;
                color: #F65F1A;
            }
        }

        .tips {
            .tit {
                font-size: 0.34rem;
                font-weight: bold;
                color: #986706;
                margin-bottom: 0.26em;
            }

            .text {
                font-size: 0.26rem;
                font-weight: 400;
                color: #986706;
                line-height: 0.4rem;
            }
        }
    }
}


.end-modal{
    .content-box {
        width: 6.85rem;
        height: 8rem;
        background-image: url('../images/end-modal-bg.png');
        background-size: cover;
        padding-top: 3.75rem;
        box-sizing: border-box;
        text-align: center;
        margin-left: -0.2rem;

        .title {
            font-size: 0.32rem;
            margin-bottom: 1.1rem;
            color: #666;
        }

        .tips {
            .tit {
                font-size: 0.34rem;
                font-weight: bold;
                color: #986706;
                margin-bottom: 0.26em;
            }

            .text {
                font-size: 0.26rem;
                font-weight: 400;
                color: #986706;
                line-height: 0.4rem;
            }
        }
    }
}